//
//  HenryController.h
//  Henry
//
//  Created by Ron Olson on 3/9/10.
//  Copyright 2010 Keep Bertha Surfin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>

@interface HenryController : NSObject {
	IBOutlet WebView *webView;
	IBOutlet NSTextField *fileNameField;
	IBOutlet NSTableView *tableView;
	IBOutlet NSTextField *steppingField;
	
	/* This is the list of waypoints we will display in the table and the map */
	NSArray *sortedWaypoints;
	
	/* This tells us where we are in the list when going back and forth in the map */
	int currentPosInList;
	
	/* Our currently selected mode of travel; walking = 1, driving = 0 */
	int modeOfTravel;
}
-(IBAction)createTour:(id)sender;
-(IBAction)openGPXFile:(id)sender;
-(IBAction)setTransportType:(id)sender;
-(IBAction)setStepping:(id)sender;
-(IBAction)printMap:(id)sender;
-(IBAction)saveSortedWaypointsToGPX:(id)sender;

-(NSArray*)waypointsToShow:(bool)forward;

- (void)goForward:(NSString*)notUsed;
- (void)goBack:(NSString*)notUsed;

@end
